Description:
BAAS can help detect bugs in your program by detecting if statements and conditional expressions produce the same alternatives -- regardless the value of the condition expression.
Incorrect:
int max(int x, int y) {
return x > y ? x : x;
}
Correct:
int max(int x, int y) {
return x > y ? x : y;
}